package com.huabo.system.service.impl;

import com.huabo.system.mysql.entity.TblNbsjSheetMySql;
import com.huabo.system.mysql.mapper.TblNbsjSheetMySqlMapper;
import com.huabo.system.oracle.entity.TblNbsjSheet;
import com.huabo.system.oracle.mapper.TblNbsjSheetMapper;
import com.huabo.system.service.TblNbsjSheetService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.math.BigDecimal;

@Service
public class TblNbsjSheetServiceImpl implements TblNbsjSheetService {

    @Resource
    private TblNbsjSheetMapper tblNbsjSheetMapper;

    @Resource
    private TblNbsjSheetMySqlMapper tblNbsjSheetMySqlMapper;


    @Override
    public TblNbsjSheet get(BigDecimal spid) {
        return tblNbsjSheetMapper.getSpid(spid);
    }

    @Override
    public TblNbsjSheetMySql getMySql(BigDecimal spid) {
        return tblNbsjSheetMySqlMapper.getSpid(spid);
    }
}
